package com.skywolf.chem.achievement.entity;

import java.time.LocalDateTime;
import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运动成就表
 * </p>
 *
 * @author 
 * @since 2021-11-08
 */
@Data
@Accessors(chain = true)
@ApiModel(value="CtSportAchievement对象", description="运动成就表")
public class CtSportAchievement{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long uid;

    @ApiModelProperty(value = "手机号,赛事奖章都存手机号，因为川体在线那边有报名")
    private String phone;

    @ApiModelProperty(value = "完成的成就ID")
    private Long achievementId;

    @ApiModelProperty(value = "赛事奖章的话：赛事ID")
    private Long activityId;

    @ApiModelProperty(value = "0-运动奖章 1-赛事奖章")
    private Integer medalType;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "0-正常 1-已经删除")
    private Integer deleted;
    private Long createdBy;
    private Long updatedBy;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    @ApiModelProperty(value = "0-正常 1-已经删除")
    private Integer isDeleted;


}
